package com.zch.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zch.dao.model.ChatDept;
import com.zch.dao.model.ChatDeptExample;

public interface ChatDeptMapper {
	int countByExample(ChatDeptExample example);

	int deleteByExample(ChatDeptExample example);

	int deleteByPrimaryKey(String code);

	int insert(ChatDept record);

	int insertSelective(ChatDept record);

	List<ChatDept> selectByExample(ChatDeptExample example);

	ChatDept selectByPrimaryKey(String code);

	int updateByExampleSelective(@Param("record") ChatDept record,@Param("example") ChatDeptExample example);

	int updateByExample(@Param("record") ChatDept record,@Param("example") ChatDeptExample example);

	int updateByPrimaryKeySelective(ChatDept record);

	int updateByPrimaryKey(ChatDept record);

}
